how to move the camera rotation in phone in c# by touch

68

how to move the camera rotation in phone in c# by touch -

void Awake() {
         target = GameObject.FindGameObjectWithTag("Player").transform;
     }
     void Update () {
         transform.position = target.position + offset;

     }

Comments

Submit
0 Comments